home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
src
/
dutil
/
flush.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-09-09
|
589b
|
38 lines
/*
* (c)Copyright 1992-1997 Obvious Implementations Corp. Redistribution and
* use is allowed under the terms of the DICE-LICENSE FILE,
* DICE-LICENSE.TXT.
*/
/*
* dumb memory flush
*
*/
#ifdef AMIGA
#include <exec/types.h>
#include <exec/memory.h>
#include <clib/exec_protos.h>
#include <lib/version.h>
#else
#include <include/lib/version.h>
#endif
IDENT("flush",".3");
DCOPYRIGHT;
int
main(int ac, char **av)
{
#ifdef AMIGA
char *ptr;
if (ptr = AllocMem(0x7FFFFFFF, MEMF_PUBLIC)) {
main(0, NULL);
FreeMem(ptr, 0x7FFFFFFF);
}
#endif
return(0);
}